package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Brand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: BrandMapper
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/19 21:23
 * Version 1.0
 */
@Mapper
public interface BrandMapper {
    //列表
    List<Brand> findByPage();

    //添加
    void save(Brand brand);

    //根据id进行更新
    void update(Brand brand);

    //根据id删除
    void deleteById(Integer id);

}
